package com.itheima.wms.service;

import com.itheima.wms.pojo.Area;
import com.itheima.wms.pojo.AreaDto;
import com.itheima.wms.pojo.AreaNumVo;
import com.itheima.wms.pojo.AreaPageRequest;
import com.itheima.wms.utils.PageBean;

import java.util.List;

public interface AreaService {
    public PageBean queryAreaPageByCondition(AreaPageRequest areaPageRequest);

    public Area queryAreaById(Long id);

    public void insertArea(Area area);

    public void updateArea(Area area);

    public boolean removeByIds(List<Long> id);

    public List<Area> queryareaList(AreaDto areaPageRequest);

    public void plusIncludeNum(Long id);

    public void minusIncludeNum(Long id);

    AreaNumVo countIsUseOrFree(Long id);
}
